{% extends "bootstrap/base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block meta %}
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
{% endblock %}

{% block title %}Signin{% endblock %}

{% block styles %}
    {{ super() }}
    <!--<link rel="icon" href="../../favicon.ico">-->
    <link href={{ url_for("static", filename="login.css") }} rel="stylesheet">
{% endblock %}

{% block content %}
<div class="container">
    <form class="form-signin", method='POST'>
        <h2 class="form-signin-heading">Please sign in</h2>
        {{ form.csrf_token }}
        <!--{{ form.username.label(class="sr-only") }}-->
        {{ form.username(class="form-control", placeholder="Email address",
        required=True, autofocus=True) }}
        <!--{{ form.password.label(class="sr-only") }}-->
        {{ form.password(class="form-control", placeholder="Password",
        required=True) }}
        <div class="checkbox">
            <label>
                {{ form.remember_me }}Remember me
            </label>
        </div>
        {{ form.submit(class="btn btn-lg btn-primary btn-block") }}
    </form>
</div>
{% endblock %}
